

const router = require('express').Router();

const {avatorHandler} = require('../controller/users');
const { avatorUploads } = require('../utils/multer');
// input type="file" name="avator"
router.post('/avator',avatorUploads.array('avator'),avatorHandler);
// exports.router = router;

module.exports = router;
